@extends("home.public.home")

@section("content")
  <div class="msg_right">
      <!-- top -->
      <div class="content_right_top">
        <!-- top_left -->
        <div class="top_left">
          <!-- head and 收货信息 -->
          <div class="top_left_up">
            <!-- head img -->
            <div class="user_head">
              <div style="width: 106px;margin-left: 21px;" onmouseover="document.getElementById('editmask').style.display='block';" onmouseout="document.getElementById('editmask').style.display='none';">
                <img src="{{$userdetails['photo']}}" alt="" width="50px" height="50px">
                <a href="/info/userinfo.jhtml?sts=e40e7004-4c8a-4963-8564-31271a8337d8"><div id="editmask" style="display: none;">编辑资料</div></a>
              </div>
                  <p title="15364711138">{{$userdetails['nickname']}}</p>
            </div>
            <div class="vline"></div>
            <!-- 收货信息 -->
            <div class="shouhuoxinxi">
              <ul class="shouhuoxinxi_list">
                        <li><a href="/userOrder">
                          <span class="url"></span>
                          <p>待付款 <i id="unPay">{{$witepay}}</i></p></a>
                        </li>

                         <li><a href="/userment">
                                <em class="url"></em>
                                <p>待评价 <i id="review">{{$comment}}</i></p>
                            </a>
                        </li>
             </ul>

              <ul class="shouhuoxinxi_list">
               
              </ul>
            </div>
          </div>
          <!-- notice -->
          <div class="top_left_down">
            </div>
        </div>
        <!-- top_model -->
        <div class="top_model">
          <div class="top_model_up">
            <h3>我的资产</h3>
          </div>
          <div class="top_model_down">
            <div class="top_model_bottom_t clearfix">
              <a href="http://coupon.lenovo.com.cn/lenovo/saleCoupons.jhtm">
                        <p class="pl"><span class="url"></span>可用优惠券</p>
                        <p class="pr"><i id="counpon">0</i> 张</p>
                      </a>
                  </div>
                  <div id="lddiv" class="top_model_bottom_b clearfix">
                      <a href="/ledou/list.jhtml?sts=e40e7004-4c8a-4963-8564-31271a8337d8">
                          <p class="pl"><span class="url"></span>可用乐豆</p>
                          <p class="pr"><i id="uledou">300</i> 个</p>
                        </a>
                    </div>
                  <div id="hddiv" class="top_model_bottom_bb clearfix">
                      <a href="/heidian/list.jhtml?sts=e40e7004-4c8a-4963-8564-31271a8337d8">
                          <p class="pl"><span class="url"></span>可用黑点</p>
                          <p class="pr"><i id="uheidian">0</i> 个</p>
                        </a>
                    </div>
                  </div>
        </div>
        <div class="top_right">
        <div class="top_model_up clearfix">
                    <h3><a href="http://coupon.lenovo.com.cn/lenovo/saleCoupons.jhtm">我的优惠券</a></h3>
                    <a href="http://coupon.lenovo.com.cn/lenovo/saleCoupons.jhtm"><i class="url"></i></a>
                </div>
                <div class="top_right_down">
                  <div class="top_right_down_dialog" style="display: none;">

                  </div>
                  <div class="top_right_down_none" style="display: block;">您还没有优惠券！</div>
                  <div class="banner_box" style="opacity: 1; display: block;">
                    <ul class="banner_img">
                     </ul>
                     <div class="banner_bt_box">
                     <a href="javascript:;"><span class="banner_prev url"></span></a>
                     <a href="javascript:;"><span class="banner_next url"></span></a>
                    </div>
                  </div>
                </div>
        </div>
      </div>


     <div class="content_right_tuijian" id="content_right_tuijian">
        <div class="content_right_tuijian_top">
                <div class="left">
                    <h3>为你推荐</h3>
                </div>
            </div>
            <div class="middle_bottom_tuijian_dialog" style="display: none;"></div>
            <div class="content_right_tuijian_bottom" style="opacity: 1; display: block;">
                  <ul class="tuijian_ul">
                  @foreach($hotgoods as $hot)
                      <li>
                      <div class="tuijian_product">
                          <div class="tuijian_img">
                          <a target="_blank" href="/goods/{{$hot['id']}}" >
                          <img src="{{$hot['img']}}" alt="{{$hot['title']}}" title="{{$hot['title']}}" width="180px" height="180px">
                          </a>
                          </div>
                          <div class="tuijian_detail">
                          <div class="tuijian_name">{{$hot['goodsname']}}</div>
                          <div class="tuijian_price">
                          <span>{{number_format($hot['price'])}}</span>&nbsp;元</div>
                          </div>
                          </div>
                      </li>
                   @endforeach
                     
                  </ul>
            </div>
      </div>
    </div>
</div>

@endsection
